<?php
class home_cont extends CI_Controller {
    public function index()
    {
        //$this->output->cache(5);
		$is_logged_in = $this->session->userdata('logged_in');
		if(!isset($is_logged_in) || $is_logged_in != true)
		{
			$this->load->view('home');
		}
        else
		{
			$this->load->view('home_user');
		}
    }
	public function about()
    {
        //$this->output->cache(5);
        $this->load->view('about');
    }
}